﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site1.Master" AutoEventWireup="true" CodeBehind="GridViewDoctorList.aspx.cs" Inherits="MedicWeb.forms.GridViewDoctorList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                            <ContentTemplate>
                                <asp:DropDownList ID="ddlSpeciality" runat="server" AutoPostBack="True"
                                    onselectedindexchanged="ddlSpeciality_SelectedIndexChanged">
                                </asp:DropDownList>
                            </ContentTemplate>
                    </asp:UpdatePanel>   


    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
    <ContentTemplate>
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false">
        <Columns>
        <asp:BoundField ReadOnly="true" HeaderText="NumberInOrder" DataField="NumberInOrder" SortExpression="NumberInOrder" />
        <asp:BoundField HeaderText="Surname" DataField="Surname" SortExpression="Surname" />
        <asp:BoundField HeaderText="Name" DataField="Name" SortExpression="Name" />
        <asp:BoundField HeaderText="Patronymic" DataField="Patronymic" SortExpression="Patronymic" />
        <asp:BoundField HeaderText="Address" DataField="Address" SortExpression="Address" />
        <asp:BoundField HeaderText="Data" DataField="Data" SortExpression="Data" />
        <asp:BoundField HeaderText="Job" DataField="Job" SortExpression="Job" />

        </Columns>
        <EmptyDataTemplate>
        Выборка не содержит данных
        </EmptyDataTemplate>

    </asp:GridView>
    </ContentTemplate>
    </asp:UpdatePanel>
    <asp:UpdateProgress ID="UpdateProgress1" runat="server">
    <ProgressTemplate>
        Да ищю я ищю...
    </ProgressTemplate>
    </asp:UpdateProgress>
</asp:Content>
